package com.itheima.project.vo.search;

import com.itheima.project.basic.BasicVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 封装ES中搜索 请求条件vo
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class RequestParamVo extends BasicVo {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("query请求对象")
    private QueryParam queryParam;
    @ApiModelProperty("排序请求对象")
    private SortParam sortParam;
    @ApiModelProperty("分页请求对象")
    private PageParam pageParam;
    @ApiModelProperty("高亮请求对象")
    private HighlightParam highlightParam;
    // TODO  聚合请求  联想建议请求
}
